package com.lovo.csc.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.bouncycastle.cms.PasswordRecipient;

import java.time.LocalDate;

@TableName("deposit_history")
@Getter
@Setter
@NoArgsConstructor
/**
 * 预存款实体
 */
public class DepositHistoryBean {
    /**
     * 主键编号
     */
    @TableId(value = "pk_depositHistoryId")
    private long depositHistoryId;
    /**
     * 存款日期
     */
    @TableField("dh_date")
    private LocalDate date;
    /**
     * 存款金额
     */
    @TableField("dh_money")
    private int money;
    /**
     * 用户外键
     */
    @TableField("fk_userId")
    private long userId;
    @TableField(exist = false)
    private String userName;
}
